<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTTP_HOST_Refresh</title>
</head>
<body>
<!--121.42.82.33，@解析跳转专用，www解析真实应用地址，即@--》程序--》www真实地址，-->
<?php

$thisurl = $_SERVER['HTTP_HOST'];
if ($thisurl == 'localhost') {//本地默认主页
  echo "<script>location.href='http://localhost/index_coming soon.html';</script>;";
} 
//以下默认常量地址
  elseif ($thisurl == 'to51.cn') {//@默认主页
  echo "<script>location.href='http://to51.cn/index_coming soon.html';</script>;";
} elseif ($thisurl == 'www.to51.cn') {//www解析默认主页
  echo "<script>location.href='http://www.to51.cn/index_coming soon.html';</script>;";
} elseif ($thisurl == 'pm.to51.cn') {//phpMyAdmin
  echo "<script>location.href='http://localhost:8101';</script>;";
} elseif ($thisurl == 'sqb.to51.cn') {//SQLBuddy
  echo "<script>location.href='http://localhost:8102';</script>;";
} elseif ($thisurl == 'tool.to51.cn') {//tool
  echo "<script>location.href='http://localhost:8103';</script>;";
} elseif ($thisurl == 'test.to51.cn') {//test
  echo "<script>location.href='http://localhost:8104';</script>;";
} elseif ($thisurl == 'dsm0632.imwork.net') {//DSM
  echo "<script>location.href='http://dsm0632.imwork.net:5000';</script>;";
} elseif ($thisurl == 'sukms.iask.in') {//
  echo "<script>location.href='http://localhost/index_coming soon.html';</script>;";
}


//以下项目地址
  elseif ($thisurl == 'taoma51.com') {
  echo "<script>location.href='http://localhost';</script>;";
} elseif ($thisurl == 'juyiming.love') {
  echo "<script>location.href='http://juyiming.love:8110';</script>;";
} elseif ($thisurl == 'sslongx.com') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == 'wsijia.com') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == 'vsijia.com') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == 'codeing.club') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == 'code8.club') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == 'codeing.ren') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == 'testing.so') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == '54tester.club') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == '51tester.ren') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == '51t.info') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == '51link.info') {
  echo "<script>location.href='http://www.51link.info/index_coming soon.html';</script>;";
} elseif ($thisurl == 'weldian.com') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == '17web8.com') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == 'huangjiannan.cn') {
  echo "<script>location.href='http://#';</script>;";
} elseif ($thisurl == 'juchengyuan.cn') {
  echo "<script>location.href='http://#';</script>;";
} 
//以下无记录地址
  else {//无匹配地址不跳转
  echo "<script>alert('无匹配项，请检查网址');</script>";
}

?>

</body>
</html>